package pers.cz.mapper;

import pers.cz.model.AutoCollectTestCaseSql;
import pers.cz.model.AutoCollectTestCaseSqlExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AutoCollectTestCaseSqlMapper {
    int countByExample(AutoCollectTestCaseSqlExample example);

    int deleteByExample(AutoCollectTestCaseSqlExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AutoCollectTestCaseSql record);

    int insertSelective(AutoCollectTestCaseSql record);

    List<AutoCollectTestCaseSql> selectByExample(AutoCollectTestCaseSqlExample example);

    AutoCollectTestCaseSql selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AutoCollectTestCaseSql record, @Param("example") AutoCollectTestCaseSqlExample example);

    int updateByExample(@Param("record") AutoCollectTestCaseSql record, @Param("example") AutoCollectTestCaseSqlExample example);

    int updateByPrimaryKeySelective(AutoCollectTestCaseSql record);

    int updateByPrimaryKey(AutoCollectTestCaseSql record);

    void batchInsert(List<AutoCollectTestCaseSql> list);

    List<String> selectBusiCodeDistinct();

    void batchDelete(List<AutoCollectTestCaseSql> list);

    List<AutoCollectTestCaseSql> selectSqlByBusiCode(String busiCode);
    Integer clearOldData();
}
